<?php
namespace app\index\model;

use think\Model;

class Favor extends Model
{
    //主播粉丝表
    protected $table = 'sn_favor';

    /** 查询
     * @param $map
     * @return \think\Paginator
     * @throws \think\exception\DbException
     */
    public function query_list($map)
    {
        return $this->where($map)->paginate();
    }
}